/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Encapsulacion;

/**
 *
 * @author Ibon
 */
class Box {
    // protect the instance variable; only an instance
// of Box can access it
    private int size;
// Provide public getters and setters
    public int getSize() {
        return size;
    }
    public void setSize(int newSize) {
        size = newSize;
    }
}
